package com.gqz.equip.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gqz.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 新能源-物资-出入库工单表
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "TEnWzEquipBqVo")
public class TEnWzEquipBqVo extends TEnWzEquipVo implements Serializable {


    @SchemaProperty(name = "主键")
    private String id;

    @SchemaProperty(name = "设备编码")
    private String sbbm;

    @SchemaProperty(name = "贴签人id")
    private String tqrId;

    @SchemaProperty(name = "贴签人名称")
    private String tqrName;

    @Excel(name = "贴签时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @SchemaProperty(name = "贴签时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "tqTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date tqTime;

    @SchemaProperty(name = "贴签时间至")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "tqTime_to", format = "yyyy-MM-dd HH:mm:ss")
    private Date tqTime_to;

    @SchemaProperty(name = "全局照片")
    @Excel(name = "全局照片", width = 30.0, height = 30.0)
    private String qjzp;

    @SchemaProperty(name = "二维码照片")
    @Excel(name = "二维码照片", width = 30.0, height = 30.0)
    private String ewmzp;

    @SchemaProperty(name = "审核状态")
    private String shztbm;

    @SchemaProperty(name = "审核意见")
    @Excel(name = "审核意见", width = 20)
    private String shyj;

    @SchemaProperty(name = "审核人")
    private String shPerson;

    @SchemaProperty(name = "审核时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "shTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date shTime;

    @SchemaProperty(name = "审核状态名称")
    @Excel(name = "审核状态", width = 20)
    private String shztmc;

    @SchemaProperty(name = "设备坐标")
    private String zb;

    @SchemaProperty(name = "地理位置")
    private String dlwz;

}
